Skip to content

fix(dashboard): scale-sweep drift chart no longer reads as permanent budget breach#149

Merged
mvalancy merged 1 commit into
devfrom
fix/dashboard-drift-chart-framing
Jun 20, 2026
Merged

fix(dashboard): scale-sweep drift chart no longer reads as permanent budget breach#149
mvalancy merged 1 commit into
devfrom
fix/dashboard-drift-chart-framing

Conversation

@mvalancy

Copy link
Copy Markdown
Member

The dashboard "Layout drift" trend (budget 25px) is fed only by scale-sweep rmsFromSavedPx, which measures how far force layout wanders synthetic seeded graphs from their seed positions — expected to grow with graph size, not a placed-graph fidelity signal. The real 25px fidelity guard lives in graph-perf.spec.ts (enforced as a test assertion). Applying that budget on the dashboard made the chart read as a permanent 136px-vs-25px breach (a documented artifact, not a regression).

This retitles the chart to "Layout wander vs size (scale sweep)" and drops the misapplied budget, in both the live dashboard and the static perf report.

Verification: node --check on both files + node --test tests/lib/dashboard/dashboard.test.mjs (39/39 pass). Framing-only change to informational charts; no app/data/graph paths touched.

🤖 Generated with Claude Code

…budget breach

The "Layout drift" trend (budget 25px) was fed only by scale-sweep
rmsFromSavedPx, which measures how far force layout wanders synthetic
seeded graphs from their seed positions — expected to grow with size,
not a fidelity signal. The real 25px placed-graph fidelity guard is
enforced in graph-perf.spec.ts. Retitle to "Layout wander vs size" and
drop the misapplied budget so the dashboard stops showing a permanent
136px-vs-25px false breach. Same fix in the static perf report.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mvalancy mvalancy merged commit 51aee62 into dev Jun 20, 2026
10 of 11 checks passed
@mvalancy mvalancy deleted the fix/dashboard-drift-chart-framing branch June 20, 2026 16:17
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant